home *** CD-ROM | disk | FTP | other *** search
/ PC User 2003 September / Australian PC User - September 2003 (CD1).iso / magstuff / web / files / psp801ev.exe / Data1.cab / Preset_BallsAndBubbles_Space < prev    next >
Encoding:
Text File  |  2003-06-06  |  2.8 KB  |  80 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'Vaguely science fiction bubbles',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_BallsAndBubbles():
  13.     return {
  14.         'Illumination': {
  15.             'MaxAmbience': 26, 
  16.             'MinAmbience': 26, 
  17.             'LightList': [{
  18.                 'BubbleLight': App.Constants.Boolean.true, 
  19.                 'Color': (232,120,90), 
  20.                 'Direction': (-0.701549,0.259445,0.597006), 
  21.                 'HighlightSize': 29
  22.                 },{
  23.                 'BubbleLight': App.Constants.Boolean.false, 
  24.                 'Color': (71,222,231), 
  25.                 'Direction': (-0.194958,-0.778336,-0.799406), 
  26.                 'HighlightSize': 2
  27.                 },{
  28.                 'BubbleLight': App.Constants.Boolean.false, 
  29.                 'Color': (112,169,94), 
  30.                 'Direction': (0.51475,-0.281139,-0.649306), 
  31.                 'HighlightSize': 52
  32.                 },{
  33.                 'BubbleLight': App.Constants.Boolean.true, 
  34.                 'Color': (189,106,80), 
  35.                 'Direction': (0.707917,0.169577,0.699753), 
  36.                 'HighlightSize': 44
  37.                 },{
  38.                 'BubbleLight': App.Constants.Boolean.true, 
  39.                 'Color': (169,93,188), 
  40.                 'Direction': (0.278767,-0.310247,-0.28996), 
  41.                 'HighlightSize': 13
  42.                 }]
  43.             }, 
  44.         'Mode': App.Constants.CountType.Multiple, 
  45.         'Multiple': {
  46.             'AverageSize': 66, 
  47.             'Coverage': 19, 
  48.             'CreateMethod': App.Constants.BubbleCreateMethod.Overlapping, 
  49.             'SizeVariation': 91
  50.             }, 
  51.         'RandomSeed': 9040, 
  52.         'RandomizePlacement': App.Constants.Boolean.false, 
  53.         'Single': {
  54.             'MaxPossibleSize': App.Constants.Boolean.false
  55.             }, 
  56.         'Surface': {
  57.             'Material': {
  58.                 'Color': (4,45,162), 
  59.                 'Pattern': None, 
  60.                 'Gradient': None, 
  61.                 'Texture': None
  62.                 }, 
  63.             'BumpMap': {
  64.                 'Active': App.Constants.Boolean.false
  65.                 }, 
  66.             'EnvironmentMap': {
  67.                 'Active': App.Constants.Boolean.true, 
  68.                 'FileName': 'Gold', 
  69.                 'EnvironmentType': App.Constants.BubbleMapType.CurrentImage
  70.                 }, 
  71.             'Gloss': 25, 
  72.             'Opacity': 68, 
  73.             'Shininess': 97
  74.             }
  75.         }
  76.  
  77. def Do(Environment):
  78.     App.Do( Environment, 'BallsAndBubbles',         Preset_BallsAndBubbles())
  79.  
  80.